package tech.topcoder.springcloud.simpleservice.dao;

import java.util.List;
import tech.topcoder.springcloud.simpleservice.bean.Permission;
import tech.topcoder.springcloud.simpleservice.bean.PermissionExample;

public interface PermissionDao {
    long countByExample(PermissionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    int insertSelective(Permission record);

    List<Permission> selectByExample(PermissionExample example);

    Permission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Permission record);

    int updateByPrimaryKey(Permission record);
}